Exclude a process from being listed in `top`
Posted
by warren
on Server Fault
See other posts from Server Fault
or by warren
Published on 2010-05-02T22:59:25Z
Indexed on
2010/05/02
23:08 UTC
Read the original article
Hit count: 196
Is it possible to exclude some processes from being reported by top
?
For example, I would like to exclude itself from its listing (ie, I don't want top
to show in the process list).
I would also like to be able to exclude processes that do not belong to the user running top
(except for root
).
Is this possible? If so, how? If not, is there a similar tool that will do what I want (that does not involve running something like ps
frequently).
© Server Fault or respective owner